package Ants.Modules.Fight.Minimax.Model;

import java.util.ArrayList;
import java.util.List;

public class Ant {
	
	private Tile tile;
	private Tile old;

	private ArrayList<Ant> closeEnemies;
	
	private int closeEnemyDist;
	private int closeFriendDist;
	private int closeFoodDist;
	private int closeEnemyHillDist;
	private int closeFriendHillDist;
	private int id;
	
	public Ant(Tile tile){
		this.tile = tile;
	}
	
	public Tile getTile(){
		return tile;
	}

	public void setTile(Tile tile) {
		this.tile = tile;
	}
	
	public Tile getOld() {
		return old;
	}

	public void setOld(Tile old) {
		this.old = old;
	}
	
	@Override
	public String toString() {
		if(closeEnemies == null)
			return tile.toString();
		else return tile.toString();
	}

	public List<Ant> getCloseEnemies() {
		return closeEnemies;
	}

	public void setCloseEnemies(ArrayList<Ant> closeEnemies) {
		this.closeEnemies = closeEnemies;
	}

	public int getCloseEnemyDist() {
		return closeEnemyDist;
	}

	public void setCloseEnemyDist(int closeEnemyDist) {
		this.closeEnemyDist = closeEnemyDist;
	}

	public int getCloseFriendDist() {
		return closeFriendDist;
	}

	public void setCloseFriendDist(int closeFriendDist) {
		this.closeFriendDist = closeFriendDist;
	}

	public int getCloseFoodDist() {
		return closeFoodDist;
	}

	public void setCloseFoodDist(int closeFoodDist) {
		this.closeFoodDist = closeFoodDist;
	}
	
	public int getCloseEnemyHillDist() {
		return closeEnemyHillDist;
	}

	public void setCloseEnemyHillDist(int closeEnemyHill) {
		this.closeEnemyHillDist = closeEnemyHill;
	}
	
	public int getCloseFriendHillDist() {
		return closeFriendHillDist;
	}

	public void setCloseFriendHillDist(int closeFriendHill) {
		this.closeFriendHillDist = closeFriendHill;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
